package qq

import (
	"math/rand"
	"time"
)

func random(min, max int64) int64 {
	rand.Seed(time.Now().Unix())
	return rand.Int63n(max-min) + min
}

func randomBykey(min, max, key int64) int64 {
	rand.Seed(time.Now().UnixNano() + key)
	return rand.Int63n(max-min) + min
}
